Skip to content

Conversation

@lovesegfault
Copy link
Member

Motivation

Add support for configuring S3 storage class via the storage-class
parameter for S3BinaryCacheStore. This allows users to optimize costs
by selecting appropriate storage tiers (STANDARD, GLACIER,
INTELLIGENT_TIERING, etc.) based on access patterns.

The storage class is applied via the x-amz-storage-class header for
both regular PUT uploads and multipart upload initiation.

Context

Fixed: #7015


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@github-actions github-actions bot added documentation store Issues and pull requests concerning the Nix store labels Nov 3, 2025
@lovesegfault lovesegfault requested a review from xokdvium November 3, 2025 19:59
@lovesegfault lovesegfault force-pushed the nix-s3-storage-class branch 2 times, most recently from e05004a to 0f078ff Compare November 10, 2025 17:35
Copy link
Contributor

@xokdvium xokdvium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love for us to start using proper optional types.

Add support for configuring S3 storage class via the storage-class
parameter for S3BinaryCacheStore. This allows users to optimize costs
by selecting appropriate storage tiers (STANDARD, GLACIER,
INTELLIGENT_TIERING, etc.) based on access patterns.

The storage class is applied via the x-amz-storage-class header for
both regular PUT uploads and multipart upload initiation.
@Ericson2314 Ericson2314 added this pull request to the merge queue Nov 10, 2025
Merged via the queue into NixOS:master with commit 533db37 Nov 10, 2025
16 checks passed
@lovesegfault lovesegfault deleted the nix-s3-storage-class branch November 11, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify storage class for S3 binary cache uploads

3 participants